﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Display.aswingui {
    import flash.events.*;
    import org.aswing.*;
    import org.aswing.event.*;

    public class CustomButton extends JButton {

        private var origX:Number;
        private var origY:Number;
        private var bPosSet:Boolean = false;
        private var uiClassName:String = "Button.";

        public function CustomButton(_arg1:String="", _arg2:Icon=null, _arg3:String="Button."){
            this.uiClassName = _arg3;
            super(_arg1, _arg2);
            this.addStateListener(this.changeSize, 0, true);
        }
        override public function getUIClassID():String{
            return (this.uiClassName);
        }
        private function setVars(_arg1:AWEvent):void{
            if (!this.bPosSet){
                this.origX = this.getLocation().x;
                this.origY = this.getLocation().y;
            };
            this.bPosSet = true;
        }
        private function changeSize(_arg1:InteractiveEvent):void{
        }
        private function grow(_arg1:MouseEvent):void{
        }
        private function shrink(_arg1:MouseEvent):void{
        }

    }
}//package Display.aswingui 
